package Smallprogram.entiy;

import java.util.List;

public class BreakfastItem {
    private int sort;
    private String icon;
    private int id;
    private List<Goods> goodsList;
    private String name;
    private int isShowBackstage;

    public BreakfastItem() {
    }

    public BreakfastItem(int sort, String icon, int id, List<Goods> goodsList, String name, int isShowBackstage) {
        this.sort = sort;
        this.icon = icon;
        this.id = id;
        this.goodsList = goodsList;
        this.name = name;
        this.isShowBackstage = isShowBackstage;
    }
    public BreakfastItem(int sort, String icon, int id, String name, int isShowBackstage) {
        this.sort = sort;
        this.icon = icon;
        this.id = id;
        this.goodsList = goodsList;
        this.name = name;
        this.isShowBackstage = isShowBackstage;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public List<Goods> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<Goods> goodsList) {
        this.goodsList = goodsList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIsShowBackstage() {
        return isShowBackstage;
    }

    public void setIsShowBackstage(int isShowBackstage) {
        this.isShowBackstage = isShowBackstage;
    }

    public static class Goods {
        private int sellTimeStatus;
        private int id;
        private boolean isSell;
        private String packCost;
        private int sales;
        private int goodsType;
        private String coverImg;
        private List<String> property;
        private List<String> goodsMealsInfo;
        private int isAdd;
        private boolean useSpec;
        private List<Entity> entity;
        private String stallCode;
        private int sort;
        private double price;
        private String unit;
        private List<String> imageArr;
        private double membershipPrice;
        private int useProperty;
        private int unitType;
        private int minBuyNum;
        private List<String> specs;
        private String content;
        private int isFollowSuit;
        private double stock;
        private int type;
        private int isLabel;
        private String name;
        private String images;

        public Goods() {
        }

        public Goods(int sellTimeStatus, int id, boolean isSell, String packCost, int sales, int goodsType, String coverImg, List<String> property, List<String> goodsMealsInfo, int isAdd, boolean useSpec, List<Entity> entity, String stallCode, int sort, double price, String unit, List<String> imageArr, double membershipPrice, int useProperty, int unitType, int minBuyNum, List<String> specs, String content, int isFollowSuit, double stock, int type, int isLabel, String name, String images) {
            this.sellTimeStatus = sellTimeStatus;
            this.id = id;
            this.isSell = isSell;
            this.packCost = packCost;
            this.sales = sales;
            this.goodsType = goodsType;
            this.coverImg = coverImg;
            this.property = property;
            this.goodsMealsInfo = goodsMealsInfo;
            this.isAdd = isAdd;
            this.useSpec = useSpec;
            this.entity = entity;
            this.stallCode = stallCode;
            this.sort = sort;
            this.price = price;
            this.unit = unit;
            this.imageArr = imageArr;
            this.membershipPrice = membershipPrice;
            this.useProperty = useProperty;
            this.unitType = unitType;
            this.minBuyNum = minBuyNum;
            this.specs = specs;
            this.content = content;
            this.isFollowSuit = isFollowSuit;
            this.stock = stock;
            this.type = type;
            this.isLabel = isLabel;
            this.name = name;
            this.images = images;
        }


        public Goods(int id,String name, String images,double price,String content,boolean isSell,double membershipPrice,int type) {
            this.id = id;
            this.isSell = isSell;
            this.price = price;
            this.membershipPrice = membershipPrice;
            this.content = content;
            this.name = name;
            this.images = images;
            this.type = type;
        }

        public int getSellTimeStatus() {
            return sellTimeStatus;
        }

        public void setSellTimeStatus(int sellTimeStatus) {
            this.sellTimeStatus = sellTimeStatus;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public boolean isSell() {
            return isSell;
        }

        public void setSell(boolean sell) {
            isSell = sell;
        }

        public String getPackCost() {
            return packCost;
        }

        public void setPackCost(String packCost) {
            this.packCost = packCost;
        }

        public int getSales() {
            return sales;
        }

        public void setSales(int sales) {
            this.sales = sales;
        }

        public int getGoodsType() {
            return goodsType;
        }

        public void setGoodsType(int goodsType) {
            this.goodsType = goodsType;
        }

        public String getCoverImg() {
            return coverImg;
        }

        public void setCoverImg(String coverImg) {
            this.coverImg = coverImg;
        }

        public List<String> getProperty() {
            return property;
        }

        public void setProperty(List<String> property) {
            this.property = property;
        }

        public List<String> getGoodsMealsInfo() {
            return goodsMealsInfo;
        }

        public void setGoodsMealsInfo(List<String> goodsMealsInfo) {
            this.goodsMealsInfo = goodsMealsInfo;
        }

        public int getIsAdd() {
            return isAdd;
        }

        public void setIsAdd(int isAdd) {
            this.isAdd = isAdd;
        }

        public boolean isUseSpec() {
            return useSpec;
        }

        public void setUseSpec(boolean useSpec) {
            this.useSpec = useSpec;
        }

        public List<Entity> getEntity() {
            return entity;
        }

        public void setEntity(List<Entity> entity) {
            this.entity = entity;
        }

        public String getStallCode() {
            return stallCode;
        }

        public void setStallCode(String stallCode) {
            this.stallCode = stallCode;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public List<String> getImageArr() {
            return imageArr;
        }

        public void setImageArr(List<String> imageArr) {
            this.imageArr = imageArr;
        }

        public double getMembershipPrice() {
            return membershipPrice;
        }

        public void setMembershipPrice(double membershipPrice) {
            this.membershipPrice = membershipPrice;
        }

        public int getUseProperty() {
            return useProperty;
        }

        public void setUseProperty(int useProperty) {
            this.useProperty = useProperty;
        }

        public int getUnitType() {
            return unitType;
        }

        public void setUnitType(int unitType) {
            this.unitType = unitType;
        }

        public int getMinBuyNum() {
            return minBuyNum;
        }

        public void setMinBuyNum(int minBuyNum) {
            this.minBuyNum = minBuyNum;
        }

        public List<String> getSpecs() {
            return specs;
        }

        public void setSpecs(List<String> specs) {
            this.specs = specs;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getIsFollowSuit() {
            return isFollowSuit;
        }

        public void setIsFollowSuit(int isFollowSuit) {
            this.isFollowSuit = isFollowSuit;
        }

        public double getStock() {
            return stock;
        }

        public void setStock(double stock) {
            this.stock = stock;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getIsLabel() {
            return isLabel;
        }

        public void setIsLabel(int isLabel) {
            this.isLabel = isLabel;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImages() {
            return images;
        }

        public void setImages(String images) {
            this.images = images;
        }

        public static class Entity {
            private String specId;
            private String tradeMark;
            private String id;
            private double stock;
            private List<String> specText;
            private List<String> spec;
            private String image;
            private int num;
            private double price;
            private double membershipPrice;

            // getters and setters

            public Entity() {
            }

            public Entity(String specId, String tradeMark, String id, double stock, List<String> specText, List<String> spec, String image, int num, double price, double membershipPrice) {
                this.specId = specId;
                this.tradeMark = tradeMark;
                this.id = id;
                this.stock = stock;
                this.specText = specText;
                this.spec = spec;
                this.image = image;
                this.num = num;
                this.price = price;
                this.membershipPrice = membershipPrice;
            }

            public String getSpecId() {
                return specId;
            }

            public void setSpecId(String specId) {
                this.specId = specId;
            }

            public String getTradeMark() {
                return tradeMark;
            }

            public void setTradeMark(String tradeMark) {
                this.tradeMark = tradeMark;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public double getStock() {
                return stock;
            }

            public void setStock(double stock) {
                this.stock = stock;
            }

            public List<String> getSpecText() {
                return specText;
            }

            public void setSpecText(List<String> specText) {
                this.specText = specText;
            }

            public List<String> getSpec() {
                return spec;
            }

            public void setSpec(List<String> spec) {
                this.spec = spec;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getMembershipPrice() {
                return membershipPrice;
            }

            public void setMembershipPrice(double membershipPrice) {
                this.membershipPrice = membershipPrice;
            }
        }
    }
}
